<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<body style="margin: 0">
	<table width="100%" border="1" cellspacing="0" cellpadding="5">
		<tr bgcolor="#666666">
			<td class="bgColorMain"><strong><font color="#FFFFFF">SÁCH BÁN CHẠY TRONG THÁNG</font></strong></td>
		</tr>
		<tr>
			<td>Trang <a href="#">1</a> | <a href="#">2</a></td>
		</tr>
		<c:if test="${empty BOOKS_RESULTS_KEY}">
			<tr>
				<td>Empty book</td>
			</tr>
		</c:if>
		<c:if test="${!empty BOOKS_RESULTS_KEY}">
		<c:forEach var="sach" items="${BOOKS_RESULTS_KEY}">
		<tr>
			<td>
				<table width="100%" border="0" cellspacing="0" cellpadding="5">
					<tr>
						<td width="20%" rowspan="6" valign="top"><a href="#"><img
								src="<c:out value="${sach.hinhAnh}"></c:out>" alt="#" width="114" height="171"
								border="0" /></a></td>
						<td><a href="#"><c:out value="${sach.tenSach}"></c:out> </a></td>
					</tr>
					<tr>
						<td>Tác giả: <strong><c:out value="${sach.tacGia}"></c:out> </strong></td>
					</tr>
					<tr>
						<td>Đơn giá: <strong><font color="#FF0000"><c:out value="${sach.giaBan}"></c:out>
							</font></strong>VNĐ
						</td>
					</tr>
					<tr>
						<td valign="top">Số lượng online:<strong><font
								color="#FF0000"><c:out value="${sach.soLuong}"></c:out> </font></strong> cuốn
						</td>
					</tr>
					<tr>
						<td valign="top"><a href="#"><img
								src="images/btXemChiTiet.png" alt="#" border="0" /></a></td>
					</tr>
					<tr>
						<td valign="top"><a href="#"><img
								src="images/btDatMua.png" alt="#" border="0" /></a></td>
					</tr>
				</table>
			</td>
		</tr>
		</c:forEach>
		</c:if>
	</table>
</body>
<!-- InstanceEnd -->
</html>